<template>
	<div class="loginUser">
		<x-header title="登录用户" :left-options="{backText:'',preventGoBack:'false'}" @click.native='goBack' class='whiteHeader'></x-header>
		<button @click='user1'>17770272793</button>
		<button @click='user2'>13590263965</button>
		<button @click='user3'>13827329584</button>
		<button @click='user4'>13265475768</button>
		<button @click='user5'>13534611426</button>
		<button @click='user6'>13169941019</button>
		<button @click='user8'>15011111111</button>
		<button @click='user9'>18529112850</button>
		<button @click='user7'>黄继定</button>
		<button @click='user10'>15112629609</button>
		<button @click='user11'>15013979931</button>
		<button @click='user12'>17665202221</button>
	</div>
</template>
<script>
	/*智能保养*/
	import { XHeader } from 'vux';
	import { setCookie, getCookie } from '../util/commonUtils';
	export default {
		name: "maintainHome",
		// 数据
		data() {

			return {
				userId: ''
			}
		},
		// 计算属性
		computed: {

		},
		// 创建（实例创建完成）
		created() {

		},
		// el被创建，并挂载到实例上
		mounted() {

		},
		// 方法（实例中的方法）-----------
		methods: {
			goBack(){
				this.$router.go(-1);
			},
			user1(){
				setCookie('loginkey',229279);
                setCookie('name',17770272793);
                setCookie('userName',17770272793);
                this.$router.push('/homepage');
			},
			user2(){
				setCookie('loginkey',169623);
                setCookie('name',13590263965);
                setCookie('userName',13590263965);
                this.$router.push('/homepage');
			},
			user3(){
				setCookie('loginkey',125338);
                setCookie('name',13827329584);
                setCookie('userName',13827329584);
                this.$router.push('/homepage');
			},
			user4(){
				setCookie('loginkey',141890);
                setCookie('name',13265475768);
                setCookie('userName',13265475768);
                this.$router.push('/homepage');
			},
			user5(){
				setCookie('loginkey',141872);
                setCookie('name',13534611426);
                setCookie('userName',13534611426);
                this.$router.push('/homepage');
			},
			user6(){
				setCookie('loginkey',141868);
                setCookie('name',13169941019);
                setCookie('userName',13169941019);
                this.$router.push('/homepage');
			},
			user7(){
				setCookie('loginkey',137038);
                setCookie('name','黄继定');
                setCookie('userName','黄继定');
                this.$router.push('/homepage');
			},
			user8(){
				setCookie('loginkey',173241);
                setCookie('name',15011111111);
                setCookie('userName',15011111111);
                this.$router.push('/homepage');
			},
			user9(){
				setCookie('loginkey',229311);
                setCookie('name',18529112850);
                setCookie('userName',18529112850);
                this.$router.push('/homepage');
			},
			user10(){
				setCookie('loginkey',146230);
                setCookie('name',15112629609);
                setCookie('userName',15112629609);
                this.$router.push('/homepage');
			},
			user11(){
				setCookie('loginkey',167572);
                setCookie('name',15013979931);
                setCookie('userName',15013979931);
                this.$router.push('/homepage');
			},
			user12(){
				setCookie('loginkey',229371);
                setCookie('name',17665202221);
                setCookie('userName',17665202221);
                this.$router.push('/homepage');
			}


		},
		// 子组件
		components: {
			XHeader
		}
	}
</script>
<!--当前页面的样式 -->
<style lang="less" scoped>
.loginUser {
	button{
		padding: 0.2rem;
	}
}
</style>
